Skip to content

Align Avatar 1.0 CLI primary routes#8

Merged
chasehuh merged 1 commit into
mainfrom
codex/cli-issue-7-primary-routes
Jul 4, 2026
Merged

Align Avatar 1.0 CLI primary routes#8
chasehuh merged 1 commit into
mainfrom
codex/cli-issue-7-primary-routes

Conversation

@chasehuh

@chasehuh chasehuh commented Jul 4, 2026

Copy link
Copy Markdown
Member

Closes #7

Summary

  • Switch sume avatars create, avatar batches, and Avatar MCP submit helpers to the primary /v1/avatar-1.0/generate route by default.
  • Switch sume avatar-videos create, avatar-video batches, and Avatar Video MCP submit helpers to the primary /v1/avatar-1.0/talking-video route by default.
  • Add canonical model id constants for sume/avatar-1.0/generate and sume/avatar-1.0/talking-video, while keeping legacy Avatar model ids/routes as explicit compatibility aliases.
  • Update CLI tool schemas, README/docs, and tests so new primary routes are taught as default and MCP remains marked coming_soon.

Implementation Notes

  • src/lib/models.ts now separates primary route helpers from exact model-run compatibility paths.
  • --model on sume avatars create is now explicit exact model-run mode; omitting it uses /v1/avatar-1.0/generate.
  • Avatar Video does not expose exact model selection today, so command and batch defaults use /v1/avatar-1.0/talking-video directly.
  • Live production catalog was checked from the branch CLI and advertises sume/avatar-1.0/generate with primary invoke URL /v1/avatar-1.0/generate.

Review

  • No CRITICAL/HIGH findings in self-review.
  • Remaining release step: after review/merge, cut a normal CLI release before asking users to install this behavior.

Test Plan

  • pnpm run check
  • pnpm run build:binary
  • Branch CLI no-cost smoke ✅
    • node dist/index.js --version
    • node dist/index.js avatars create --help
    • node dist/index.js avatar-videos create --help
    • node dist/index.js --json tools schema avatars.create
    • node dist/index.js --json tools schema avatar-videos.create
    • node dist/index.js --json tools list
    • node dist/index.js --json health v1
    • node dist/index.js --json catalog list
    • stale name payload rejected locally before API submission

No paid/provider calls were run.

Generated with Codex.

@chasehuh chasehuh merged commit 547b9a4 into main Jul 4, 2026
3 checks passed
@chasehuh chasehuh deleted the codex/cli-issue-7-primary-routes branch July 4, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align CLI with Avatar 1.0 primary routes and canonical model IDs

1 participant